package com.rui1024.dao;

import com.rui1024.pojo.Order;

import java.sql.Connection;
import java.util.List;

public interface OrderDao {
    List<Order> getAllOrder(Connection con) throws Exception;
    boolean order(int menuId, int amount, Connection con) throws Exception;
    int ordersSumTotal(Connection con) throws Exception;
    boolean deleteorder(int id, Connection con) throws Exception;
}
